<?php
	
class Admin_Model_Db_Location extends Itvina_Model_Abstract
{
	protected $location_id;
	protected $location_code;
	protected $location_name;
	protected $location_warehouse_code;
	protected $location_note;
	protected $location_status;
	protected $location_order;
				
	public function getLocation_id()
	{
		return $this->location_id;
	}
				
	public function getLocation_code()
	{
		return $this->location_code;
	}
				
	public function getLocation_name()
	{
		return $this->location_name;
	}
				
	public function getLocation_warehouse_code()
	{
		return $this->location_warehouse_code;
	}
				
	public function getLocation_note()
	{
		return $this->location_note;
	}
				
	public function getLocation_status()
	{
		return $this->location_status;
	}
				
	public function getLocation_order()
	{
		return $this->location_order;
	}
				
	public function setLocation_id($location_id)
	{
		$this->location_id = Itvina_Model_Abstract::settype ( $location_id, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setLocation_code($location_code)
	{
		$this->location_code = $location_code;
		return $this;
	}
				
	public function setLocation_name($location_name)
	{
		$this->location_name = $location_name;
		return $this;
	}
				
	public function setLocation_warehouse_code($location_warehouse_code)
	{
		$this->location_warehouse_code = $location_warehouse_code;
		return $this;
	}
				
	public function setLocation_note($location_note)
	{
		$this->location_note = $location_note;
		return $this;
	}
				
	public function setLocation_status($location_status)
	{
		$this->location_status = Itvina_Model_Abstract::settype ( $location_status, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setLocation_order($location_order)
	{
		$this->location_order = Itvina_Model_Abstract::settype ( $location_order, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
}